package com.shop.cereshop.business.service.tool;

import com.shop.cereshop.business.page.tool.ToolProduct;
import com.shop.cereshop.commons.domain.tool.CereShopDiscountDetail;
import com.shop.cereshop.commons.exception.CoBusinessException;

import java.util.List;

public interface CereShopDiscountDetailService {
    void insertBatch(List<CereShopDiscountDetail> details) throws CoBusinessException;

    void deleteById(Long shopDiscountId) throws CoBusinessException;

    List<ToolProduct> findProducts(Long shopDiscountId);

    List<ToolProduct> findDistinctProducts(Long shopDiscountId);
}
